public class exemplo5{

	public static void main() {
		z = 0;
		System.in.read(n);
		n = n + 1;
		for ( i = 1; i < n; i = i + 1) { 
			b = n - i;
			b = b + 1;
			for( j = 1; j < b; j = j + 1) {
				System.out.print(" ");
  			}
  			a = i + i;
  			for (j = 1; j < a; j = j + 1) {
				System.out.print("*");
			}
  			System.out.println("");
		}
	}
}
